/**
 * merchant type status
 * ========================================
 * js switch case ===
 */

export default {
  ALL: -1,
  OPEN: 1,
  CLOSE: 0,
  DELETE: -99,
  statusText: (status) => {
    switch (status) {
      case 1:
        return '正常'
      case 0:
        return '关闭'
      case -99:
        return '删除'
    }
  }
}
